#pragma once
#pragma once
#include<iostream>
using namespace std;
#include"idenyity.h"
#include<string>
#include<fstream>
#include"student.h"
#include"teacher.h"
#include"computerroom.h"
class Manager :public Identity
{


public:

	Manager();

	Manager(string name, string pwd);
	virtual void opermenu();


	void initvector();
	void addperson();

	void showperson();
	void showcomputer();
	void cleanfile();





	bool checkrepeapt(int id, int type);


	vector<Student>vstu;
	vector<Teacher>vtea;
	vector<computerroom>vcom;
};